from tile import tile
class layer:
    def __init__(self,size):
        self.tiles = []
    def createSize(self,size):
        (w,h) = size
        for x in range(w):
            row = []
            for y in range(h):
                row.append(tile())
            self.tiles.append(row)